package org.dtrd.modules.patient.entity.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author qr
 * @date 2022/3/4 10:13
 */
@ApiModel("报告首页请求")
@Getter
@Setter
public class PatientReportIndexRequest {

    @ApiModelProperty(value = "患者id", required = true)
    private Integer patientId;

    @ApiModelProperty(value = "周报查询日期, yyyy-MM", notes = "默认为当前月份")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date queryDateWeek;

    @ApiModelProperty(value = "月报查询日期, yyyy", notes = "默认为当前年份")
    @JsonFormat(pattern = "yyyy", timezone = "GMT+8")
    private Date queryDateMonth;
}
